package com.iplant.basic.service;
 
import java.util.List;

import com.iplant.base.po.Pagination;
import com.iplant.base.po.ServiceResult;
import com.iplant.basic.service.po.bms.BMSEmployee;
import com.iplant.basic.service.po.crm.*;
 

public interface CRMService {
	// 客户管理
	ServiceResult<Integer> CRM_UpdateCustomer(BMSEmployee wLoginUser, CRMCustomer wCustomer);

	ServiceResult<Integer> CRM_DeleteCustomer(BMSEmployee wLoginUser, CRMCustomer wCustomer);
  
	ServiceResult<Integer> CRM_ActiveCustomer(BMSEmployee wLoginUser, CRMCustomer wCustomer,int wActive);
 

	ServiceResult<List<CRMCustomer>> CRM_QueryCustomerList(BMSEmployee wLoginUser, String wTaxCode,
			String wName, String wIndustry, String wCountry, String wProvince, String wCity, int wGrade, int wType,
			int wActive, Pagination wPagination);

	ServiceResult<CRMCustomer> CRM_QueryCustomer(BMSEmployee wLoginUser, int wCustomerID, String wCode);


	ServiceResult<Integer> CRM_UpdateCustomerType(BMSEmployee wLoginUser, CRMCustomerType wCustomerType);

	ServiceResult<Integer> CRM_DeleteCustomerType(BMSEmployee wLoginUser, CRMCustomerType wCustomerType);

	ServiceResult<Integer> CRM_ActiveCustomerType(BMSEmployee wLoginUser, CRMCustomerType wCustomerType,int wActive);


	ServiceResult<List<CRMCustomerType>> CRM_QueryCustomerTypeList(BMSEmployee wLoginUser,
														   String wName, int wActive, Pagination wPagination);

	ServiceResult<CRMCustomerType> CRM_QueryCustomerType(BMSEmployee wLoginUser, int wID, String wCode);


}
